<template>
  <a-spin :spinning="confirmLoading">
    <j-form-container :disabled="formDisabled">
      <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
        <a-row>
          <a-col :span="6" style="display: none">
            <a-form-model-item>
              <a-input placeholder="id" v-model="item.id" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="稿件名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="manuscriptName">
              <a-input v-model="model.manuscriptName" placeholder="请输入稿件名称"></a-input>
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="客户名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="customerId">
              <j-search-select-tag
                placeholder="请做出你的选择"
                v-model="model.customerId"
                dict="customer,customer_name,id"
                :pageSize="6"
                :async="true"
              >
              </j-search-select-tag>
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="稿件来源" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="manuscriptSource">
              <j-dict-select-tag
                type="list"
                v-model="model.manuscriptSource"
                dictCode="manuscript_source"
                placeholder="请选择稿件来源"
              />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="刊期名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="frequencyId">
              <j-search-select-tag
                placeholder="请做出你的选择"
                v-model="model.frequencyId"
                dict="frequency,frequency_name,id"
                :pageSize="6"
                :async="true"
                :@click="selAuthor(model.frequencyId)"
              >
              </j-search-select-tag>
            </a-form-model-item>
          </a-col>

          <a-col :span="24">
            <a-form-model-item label="页数" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pagesNumber">
              <a-input-number v-model="model.pagesNumber" placeholder="请输入页数" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="付款类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="paymentType">
              <j-dict-select-tag
                type="list"
                v-model="model.paymentType"
                dictCode="payment_type"
                placeholder="请选择付款类型"
              />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="互自引数" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="reference">
              <a-input v-model="model.reference" placeholder="请输入互自引数"></a-input>
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="重复率" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="repetition">
              <a-input-number v-model="model.repetition" placeholder="请输入重复率" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="导向内容" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="guide">
              <j-dict-select-tag type="list" v-model="model.guide" dictCode="guide" placeholder="请选择导向内容" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="文件上传" :labelCol="labelCol" :wrapperCol="wrapperCol">
              <j-upload v-model="model.manuscriptAddress"></j-upload>
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="稿件内容" style="min-height: 300px" prop="manuscript">
              <j-editor v-model="model.manuscript" />
            </a-form-model-item>
          </a-col>
        </a-row>
        <a-button type="dashed" style="width: 98%; margin-top: 10px" @click="addRowCustom(indes)">
          <a-icon type="plus" /> 添加作者信息
        </a-button>
        <a-button type="dashed" style="width: 98%; margin-top: 10px" @click="delRowCustom()">
          <a-icon type="minus-circle" /> 删除作者信息
        </a-button>
        <a-button type="dashed" style="width: 98%; margin-top: 10px" @click="addFund()">
          <a-icon type="plus" /> 添加公司基金
        </a-button>
        <a-button type="dashed" style="width: 98%; margin-top: 10px" @click="delFund()">
          <a-icon type="minus-circle" /> 删除公司基金
        </a-button>
        <a-button type="dashed" style="width: 98%; margin-top: 10px" @click="draft()">
          <a-icon type="plus" /> 暂存
        </a-button>
        <a-tabs defaultActiveKey="1">
          <a-tab-pane tab="第一作者信息 " key="1" v-if="indes >= 1">
            <div>
              <a-row
                type="flex"
                style="margin-bottom: 8px"
                :gutter="16"
                v-for="(item, index) in orderMainModel.jeecgOrderCustomerOneList"
                :key="index"
              >
                <a-col :span="6" style="display: none">
                  <a-form-model-item>
                    <a-input placeholder="id" v-model="item.id" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者姓名">
                    <a-input placeholder="作者姓名" v-model="item.authorName" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="性别">
                    <a-select placeholder="性别" v-model="item.authorSex">
                      <a-select-option value="1">男</a-select-option>
                      <a-select-option value="2">女</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者类型">
                    <a-select placeholder="作者类型" v-model="item.author_type">
                      <a-select-option value="1">在校</a-select-option>
                      <a-select-option value="2">专职</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者学历">
                    <a-input v-model="item.education" placeholder="请输入作者学历"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者职称">
                    <a-input v-model="item.title" placeholder="请输入作者职称"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者研究方向">
                    <a-input v-model="item.research" placeholder="请输入作者研究方向"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="24">
                  <a-tab-pane tab="第一作者公司信息" key="1.1" forceRender>
                    <div>
                      <a-row
                        type="flex"
                        style="margin-bottom: 10px"
                        :gutter="16"
                        v-for="(item, index) in orderMainModel.jeecgOrderCorporateList"
                        :key="index"
                      >
                        <a-col :span="24">作者第{{ index + 1 }}家公司信息</a-col>
                        <a-col :span="24">
                          <a-col :span="6" style="display: none">
                            <a-form-model-item>
                              <a-input placeholder="id" v-model="item.id" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位名称">
                              <a-input placeholder="作者单位名称" v-model="item.companysName" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位省份">
                              <a-input placeholder="作者单位省份" v-model="item.province" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位城市">
                              <a-input placeholder="作者单位城市" v-model="item.city" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位邮箱">
                              <a-input placeholder="作者单位邮箱" v-model="item.postal" />
                            </a-form-model-item>
                          </a-col>
                        </a-col>

                        <a-col :span="6">
                          <a-form-model-item>
                            <a-icon type="minus-circle" @click="delRowCorporate(index)" style="fontsize: 20px" />
                          </a-form-model-item>
                        </a-col>
                      </a-row>
                      <a-button type="dashed" style="width: 98%; margin-top: 10px" @click="addRowCorporate(indesss)">
                        <a-icon type="plus" /> 添加公司信息
                      </a-button>
                    </div>
                  </a-tab-pane>
                </a-col>
              </a-row>
            </div>
          </a-tab-pane>
          <a-tab-pane tab="第二作者信息 " key="2" v-if="indes >= 2">
            <div>
              <a-row
                type="flex"
                style="margin-bottom: 8px"
                :gutter="16"
                v-for="(item, index) in orderMainModel.jeecgOrderCustomerTwoList"
                :key="index"
              >
                <a-col :span="6" style="display: none">
                  <a-form-model-item>
                    <a-input placeholder="id" v-model="item.id" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者姓名">
                    <a-input placeholder="作者姓名" v-model="item.authorName" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="性别">
                    <a-select placeholder="性别" v-model="item.authorSex">
                      <a-select-option value="1">男</a-select-option>
                      <a-select-option value="2">女</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者类型">
                    <a-select placeholder="作者类型" v-model="item.author_type">
                      <a-select-option value="1">在校</a-select-option>
                      <a-select-option value="2">专职</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者学历">
                    <a-input v-model="item.education" placeholder="请输入作者学历"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者职称">
                    <a-input v-model="item.title" placeholder="请输入作者职称"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者研究方向">
                    <a-input v-model="item.research" placeholder="请输入作者研究方向"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="24">
                  <a-tab-pane tab="第二作者公司信息" key="2.1" forceRender>
                    <div>
                      <a-row
                        type="flex"
                        style="margin-bottom: 10px"
                        :gutter="16"
                        v-for="(item, index) in orderMainModel.jeecgOrderCorporateTwoList"
                        :key="index"
                      >
                        <a-col :span="24">作者第{{ index + 1 }}家公司信息</a-col>
                        <a-col :span="24">
                          <a-col :span="6" style="display: none">
                            <a-form-model-item>
                              <a-input placeholder="id" v-model="item.id" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位名称">
                              <a-input placeholder="作者单位名称" v-model="item.companysName" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位省份">
                              <a-input placeholder="作者单位省份" v-model="item.province" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位城市">
                              <a-input placeholder="作者单位城市" v-model="item.city" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位邮箱">
                              <a-input placeholder="作者单位邮箱" v-model="item.postal" />
                            </a-form-model-item>
                          </a-col>
                        </a-col>

                        <a-col :span="6">
                          <a-form-model-item>
                            <a-icon type="minus-circle" @click="delRowCorporateTwo(index)" style="fontsize: 20px" />
                          </a-form-model-item>
                        </a-col>
                      </a-row>
                      <a-button
                        type="dashed"
                        style="width: 98%; margin-top: 10px"
                        @click="addRowCorporateTwo(indessss)"
                      >
                        <a-icon type="plus" /> 添加公司信息
                      </a-button>
                    </div>
                  </a-tab-pane>
                </a-col>
              </a-row>
            </div>
          </a-tab-pane>
          <a-tab-pane tab="第三作者信息 " key="3" v-if="indes >= 3">
            <div>
              <a-row
                type="flex"
                style="margin-bottom: 8px"
                :gutter="16"
                v-for="(item, index) in orderMainModel.jeecgOrderCustomerThreeList"
                :key="index"
              >
                <a-col :span="6" style="display: none">
                  <a-form-model-item>
                    <a-input placeholder="id" v-model="item.id" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者姓名">
                    <a-input placeholder="作者姓名" v-model="item.authorName" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="性别" v-if="xion == '1'">
                    <a-select placeholder="性别" v-model="item.authorSex">
                      <a-select-option value="1">男</a-select-option>
                      <a-select-option value="2">女</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者类型" v-if="xion == '1'">
                    <a-select placeholder="作者类型" v-model="item.author_type">
                      <a-select-option value="1">在校</a-select-option>
                      <a-select-option value="2">专职</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者学历" v-if="xion == '1'">
                    <a-input v-model="item.education" placeholder="请输入作者学历"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者职称" v-if="xion == '1'">
                    <a-input v-model="item.title" placeholder="请输入作者职称"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者研究方向" v-if="xion == '1'">
                    <a-input v-model="item.research" placeholder="请输入作者研究方向"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="24">
                  <a-tab-pane tab="第三作者公司信息" key="3.1" forceRender>
                    <div>
                      <a-row
                        type="flex"
                        style="margin-bottom: 10px"
                        :gutter="16"
                        v-for="(item, index) in orderMainModel.jeecgOrderCorporateThreeList"
                        :key="index"
                      >
                        <a-col :span="24">作者第{{ index + 1 }}家公司信息</a-col>
                        <a-col :span="24">
                          <a-col :span="6" style="display: none">
                            <a-form-model-item>
                              <a-input placeholder="id" v-model="item.id" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位名称">
                              <a-input placeholder="作者单位名称" v-model="item.companysName" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位省份">
                              <a-input placeholder="作者单位省份" v-model="item.province" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位城市">
                              <a-input placeholder="作者单位城市" v-model="item.city" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位邮箱">
                              <a-input placeholder="作者单位邮箱" v-model="item.postal" />
                            </a-form-model-item>
                          </a-col>
                        </a-col>

                        <a-col :span="6">
                          <a-form-model-item>
                            <a-icon type="minus-circle" @click="delRowCorporateThree(index)" style="fontsize: 20px" />
                          </a-form-model-item>
                        </a-col>
                      </a-row>
                      <a-button
                        type="dashed"
                        style="width: 98%; margin-top: 10px"
                        @click="addRowCorporateThree(indesssss)"
                      >
                        <a-icon type="plus" /> 添加公司信息
                      </a-button>
                    </div>
                  </a-tab-pane>
                </a-col>
              </a-row>
            </div>
          </a-tab-pane>
          <a-tab-pane tab="第四作者信息 " key="4" v-if="indes >= 4">
            <div>
              <a-row
                type="flex"
                style="margin-bottom: 8px"
                :gutter="16"
                v-for="(item, index) in orderMainModel.jeecgOrderCustomerFourList"
                :key="index"
              >
                <a-col :span="6" style="display: none">
                  <a-form-model-item>
                    <a-input placeholder="id" v-model="item.id" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者姓名">
                    <a-input placeholder="作者姓名" v-model="item.authorName" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="性别" v-if="xion == '1'">
                    <a-select placeholder="性别" v-model="item.authorSex">
                      <a-select-option value="1">男</a-select-option>
                      <a-select-option value="2">女</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者类型">
                    <a-select placeholder="作者类型" v-model="item.author_type">
                      <a-select-option value="1">在校</a-select-option>
                      <a-select-option value="2">专职</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者学历">
                    <a-input v-model="item.education" placeholder="请输入作者学历"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者职称">
                    <a-input v-model="item.title" placeholder="请输入作者职称"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者研究方向">
                    <a-input v-model="item.research" placeholder="请输入作者研究方向"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="24">
                  <a-tab-pane tab="第四作者公司信息" key="4.1" forceRender>
                    <div>
                      <a-row
                        type="flex"
                        style="margin-bottom: 10px"
                        :gutter="16"
                        v-for="(item, index) in orderMainModel.jeecgOrderCorporateFourList"
                        :key="index"
                      >
                        <a-col :span="24">作者第{{ index + 1 }}家公司信息</a-col>
                        <a-col :span="24">
                          <a-col :span="6" style="display: none">
                            <a-form-model-item>
                              <a-input placeholder="id" v-model="item.id" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位名称">
                              <a-input placeholder="作者单位名称" v-model="item.companysName" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位省份">
                              <a-input placeholder="作者单位省份" v-model="item.province" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位城市">
                              <a-input placeholder="作者单位城市" v-model="item.city" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位邮箱">
                              <a-input placeholder="作者单位邮箱" v-model="item.postal" />
                            </a-form-model-item>
                          </a-col>
                        </a-col>

                        <a-col :span="6">
                          <a-form-model-item>
                            <a-icon type="minus-circle" @click="delRowCorporateFour(index)" style="fontsize: 20px" />
                          </a-form-model-item>
                        </a-col>
                      </a-row>
                      <a-button
                        type="dashed"
                        style="width: 98%; margin-top: 10px"
                        @click="addRowCorporateFour(indessssss)"
                      >
                        <a-icon type="plus" /> 添加公司信息
                      </a-button>
                    </div>
                  </a-tab-pane>
                </a-col>
              </a-row>
            </div>
          </a-tab-pane>
          <a-tab-pane tab="第五作者信息 " key="5" v-if="indes >= 5">
            <div>
              <a-row
                type="flex"
                style="margin-bottom: 8px"
                :gutter="16"
                v-for="(item, index) in orderMainModel.jeecgOrderCustomerFiveList"
                :key="index"
              >
                <a-col :span="6" style="display: none">
                  <a-form-model-item>
                    <a-input placeholder="id" v-model="item.id" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5">
                  <a-form-model-item label="作者姓名">
                    <a-input placeholder="作者姓名" v-model="item.authorName" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="性别">
                    <a-select placeholder="性别" v-model="item.authorSex">
                      <a-select-option value="1">男</a-select-option>
                      <a-select-option value="2">女</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者类型">
                    <a-select placeholder="作者类型" v-model="item.author_type">
                      <a-select-option value="1">在校</a-select-option>
                      <a-select-option value="2">专职</a-select-option>
                    </a-select>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者学历">
                    <a-input v-model="item.education" placeholder="请输入作者学历"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者职称">
                    <a-input v-model="item.title" placeholder="请输入作者职称"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="5" v-if="xion == '1'">
                  <a-form-model-item label="作者研究方向">
                    <a-input v-model="item.research" placeholder="请输入作者研究方向"></a-input>
                  </a-form-model-item>
                </a-col>
                <a-col :span="24">
                  <a-tab-pane tab="第五作者公司信息" key="5.1" forceRender>
                    <div>
                      <a-row
                        type="flex"
                        style="margin-bottom: 10px"
                        :gutter="16"
                        v-for="(item, index) in orderMainModel.jeecgOrderCorporateFiveList"
                        :key="index"
                      >
                        <a-col :span="24">作者第{{ index + 1 }}家公司信息</a-col>
                        <a-col :span="24">
                          <a-col :span="6" style="display: none">
                            <a-form-model-item>
                              <a-input placeholder="id" v-model="item.id" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位名称">
                              <a-input placeholder="作者单位名称" v-model="item.companysName" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位省份">
                              <a-input placeholder="作者单位省份" v-model="item.province" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位城市">
                              <a-input placeholder="作者单位城市" v-model="item.city" />
                            </a-form-model-item>
                          </a-col>
                          <a-col :span="5">
                            <a-form-model-item label="作者单位邮箱">
                              <a-input placeholder="作者单位邮箱" v-model="item.postal" />
                            </a-form-model-item>
                          </a-col>
                        </a-col>

                        <a-col :span="6">
                          <a-form-model-item>
                            <a-icon type="minus-circle" @click="delRowCorporateFive(index)" style="fontsize: 20px" />
                          </a-form-model-item>
                        </a-col>
                      </a-row>
                      <a-button
                        type="dashed"
                        style="width: 98%; margin-top: 10px"
                        @click="addRowCorporateFive(indesssssss)"
                      >
                        <a-icon type="plus" /> 添加公司信息
                      </a-button>
                    </div>
                  </a-tab-pane>
                </a-col>
              </a-row>
            </div>
          </a-tab-pane>
          <a-tab-pane tab="基金项目" key="6" v-if="this.indexx == 1">
            <div>
              <a-row type="flex" style="margin-bottom: 10px" :gutter="16">
                <a-col :span="6">基金项目名称</a-col>
                <a-col :span="6">基金项目编号</a-col>
                <a-col :span="6">操作</a-col>
              </a-row>
              <a-row
                type="flex"
                style="margin-bottom: 10px"
                :gutter="16"
                v-for="(item, index) in orderMainModel.jeecgOrderTicketList"
                :key="index"
              >
                <a-col :span="6" style="display: none">
                  <a-form-model-item>
                    <a-input placeholder="id" v-model="item.id" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="6">
                  <a-form-model-item>
                    <a-input placeholder="基金项目名称" v-model="item.projectName" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="6">
                  <a-form-model-item>
                    <a-input placeholder="基金项目编号" v-model="item.projectCode" />
                  </a-form-model-item>
                </a-col>
                <a-col :span="6">
                  <a-form-model-item>
                    <a-icon type="minus-circle" @click="delRowTicket(index)" style="fontsize: 20px" />
                  </a-form-model-item>
                </a-col>
              </a-row>
              <a-button type="dashed" style="width: 98%; margin-top: 10px" @click="addRowTicket(indess)">
                <a-icon type="plus" /> 添加基金信息
              </a-button>
            </div>
          </a-tab-pane>
        </a-tabs>
      </a-form-model>
    </j-form-container>
  </a-spin>
</template>

<script>
import { httpAction, getAction } from '@/api/manage'
import { validateDuplicateValue } from '@/utils/util'
import JDate from '@/components/jeecg/JDate'
import { selectByAuthor, draft } from '@/api/api'
export default {
  name: 'ManuscriptForm',
  components: {
    JDate,
  },
  props: {
    //表单禁用
    disabled: {
      type: Boolean,
      default: false,
      required: false,
    },
  },
  data() {
    return {
      model: {},
      //第二次进入后如果没有ID证明他是新增
      a: 0,
      indes: 0,
      indess: 0,
      indesss: 0,
      indessss: 0,
      indesssss: 0,
      indessssss: 0,
      indesssssss: 0,
      xion: '0',
      //作者数组
      TheAuthorSet: [{}],
      //公司基金标识
      indexx: 0,
      //第一个公司信息
      companysOne: [{}],
      sss: [],
      //第一个作者值
      TheAuthor: [{}],
      item: {},
      table1: {},
      formdatas: {},
      labelCol: {
        xs: { span: 24 },
        sm: { span: 5 },
      },
      orderMainModel: {
        //第一个作者数据
        jeecgOrderCustomerOneList: [{}],
        //第二个作者数据
        jeecgOrderCustomerTwoList: [{}],
        //第三个作者数据
        jeecgOrderCustomerThreeList: [{}],
        //第四个作者数据
        jeecgOrderCustomerFourList: [{}],
        //第五个作者数据
        jeecgOrderCustomerFiveList: [{}],
        //基金数据
        jeecgOrderTicketList: [{}],
        //第一个作者公司信息
        jeecgOrderCorporateList: [{}],
        //第二个作者公司信息
        jeecgOrderCorporateTwoList: [{}],
        //第三个作者公司信息
        jeecgOrderCorporateThreeList: [{}],
        //第四个作者公司信息
        jeecgOrderCorporateFourList: [{}],
        //第五个作者公司信息
        jeecgOrderCorporateFiveList: [{}],
      },
      wrapperCol: {
        xs: { span: 24 },
        sm: { span: 16 },
      },
      confirmLoading: false,
      validatorRules: {
        addresseePhone: [
          { required: true, message: '请输入作者手机号!' },
          { pattern: /^1[3456789]\d{9}$/, message: '请输入正确的手机号码!' },
        ],
        manuscriptName: [{ required: true, message: '请输入稿件名称!' }],
        customerId: [{ required: true, message: '请输入客户名称!' }],
        manuscriptSource: [{ required: true, message: '请输入稿件来源!' }],
        frequencyId: [{ required: true, message: '请输入刊期名称!' }],
        pagesNumber: [{ required: true, message: '请输入页数!' }],
        paymentType: [{ required: true, message: '请输入付款类型!' }],
        paymentState: [{ required: true, message: '请输入付款状态!' }],
        reference: [{ required: true, message: '请输入互自引数!' }],
        repetition: [{ required: true, message: '请输入重复率!' }],
        guide: [{ required: true, message: '请输入导向内容!' }],
        manuscriptState: [{ required: true, message: '请输入稿件状态!' }],
      },
      url: {
        add: '/manuscript/manuscript/add',
        edit: '/manuscript/manuscript/edit',
        queryById: '/manuscript/manuscript/queryById',
      },
    }
  },
  computed: {
    formDisabled() {
      return this.disabled
    },
  },
  created() {
    //备份model原始值
    this.modelDefault = JSON.parse(JSON.stringify(this.model))
  },
  methods: {
    cloneObj(obj) {
      let ret
      if (Array.isArray(obj)) {
        ret = []
        for (let i = 0; i < obj.length; i++) {
          ret[i] = cloneObj(obj[i])
        }
        return ret
      } else if (Object.prototype.toString.call(obj) === '[object Object]') {
        ret = {}
        for (let i in obj) {
          ret[i] = cloneObj(obj[i])
        }
        return ret
      } else {
        return obj
      }
    },

    add() {
      debugger
      console.log(this.modelDefault)
      // this.edit(this.modelDefault)
    },

    edit(record) {
      debugger
      this.selAuthor(record.frequencyId)
      if (record.fundProject != null) {
        debugger
        var fond = record.fundProject
        var fondne = JSON.parse(fond)
        if (fondne.length >= 1) {
          this.indexx = 1
        }
        this.indess = fondne.length - 1
        this.orderMainModel.jeecgOrderTicketList = fondne
      }
      if (record.frequencyAuthor != null) {
        var zuozhe = record.frequencyAuthor
        var zuozhene = JSON.parse(zuozhe)
        this.indes = zuozhene.length
        this.orderMainModel.jeecgOrderCustomerOneList[0] = zuozhene[0]
        this.orderMainModel.jeecgOrderCorporateList = zuozhene[0].companysOne
        this.indesss = zuozhene[0].companysOne.length - 1
      }
      if (this.indes >= 2) {
        this.orderMainModel.jeecgOrderCustomerTwoList[0] = zuozhene[1]
        this.orderMainModel.jeecgOrderCorporateTwoList = zuozhene[1].companysOne
      }
      if (this.indes >= 3) {
        this.orderMainModel.jeecgOrderCustomerThreeList[0] = zuozhene[2]
        this.orderMainModel.jeecgOrderCorporateThreeList = zuozhene[2].companysOne
      }
      if (this.indes >= 4) {
        this.orderMainModel.jeecgOrderCustomerFourList[0] = zuozhene[3]
        this.orderMainModel.jeecgOrderCorporateFourList = zuozhene[3].companysOne
      }
      if (this.indes >= 5) {
        this.orderMainModel.jeecgOrderCustomerFiveList[0] = zuozhene[4]
        this.orderMainModel.jeecgOrderCorporateFiveList = zuozhene[4].companysOne
      }
      this.model = Object.assign({}, record)
      this.visible = true
    },
    //清空
    empty(a) {},
    submitForm() {
      const that = this
      // 触发表单验证
      this.$refs.form.validate((valid) => {
        if (valid) {
          that.confirmLoading = true
          let httpurl = ''
          let method = ''
          if (!this.model.id) {
            httpurl += this.url.add
            method = 'post'
          } else {
            httpurl += this.url.edit
            method = 'put'
          }
          httpAction(httpurl, this.model, method)
            .then((res) => {
              if (res.success) {
                that.$message.success(res.message)
                that.$emit('ok')
              } else {
                that.$message.warning(res.message)
              }
            })
            .finally(() => {
              that.confirmLoading = false
            })
        }
      })

      //第一个作者

      if (this.indes >= 1) {
        this.TheAuthor = JSON.stringify(this.orderMainModel.jeecgOrderCustomerOneList[0])
        if (this.orderMainModel.jeecgOrderCorporateList[0] != undefined) {
          this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateList[0])
          this.companysOne = JSON.parse(this.companysOne)
          this.sss[0] = this.companysOne
          console.log(this.sss[0])
          if (this.orderMainModel.jeecgOrderCorporateList[1] != undefined) {
            this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateList[1])
            this.companysOne = JSON.parse(this.companysOne)
            this.sss[1] = this.companysOne
            console.log(this.sss[1])
            if (this.orderMainModel.jeecgOrderCorporateList[2] != undefined) {
              this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateList[2])
              this.companysOne = JSON.parse(this.companysOne)
              this.sss[2] = this.companysOne
            }
          }
        }
        var dObj = JSON.parse(this.TheAuthor)
        var authorName = dObj.authorName
        var authorSex = dObj.authorSex
        var author_type = dObj.author_type
        var education = dObj.education
        var research = dObj.research
        var title = dObj.title

        var newJson = {}
        newJson.authorName = authorName
        newJson.authorSex = authorSex
        newJson.author_type = author_type
        newJson.education = education
        newJson.research = research
        newJson.title = title
        newJson.companysOne = this.sss

        var s = JSON.stringify(newJson)
        var a = JSON.parse(s)
        var b = JSON.stringify(a)
        this.TheAuthorSet[0] = b
        this.model.frequencyAuthor = this.TheAuthorSet
      }
      if (this.indexx >= 1) {
        //拿到基金信息
        if (this.orderMainModel.jeecgOrderTicketList[0] != undefined) {
          this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderTicketList[0])
          this.companysOne = JSON.parse(this.companysOne)
          this.sss[0] = this.companysOne
          console.log(this.sss[0])
          if (this.orderMainModel.jeecgOrderTicketList[1] != undefined) {
            this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderTicketList[1])
            this.companysOne = JSON.parse(this.companysOne)
            this.sss[1] = this.companysOne
            console.log(this.sss[1])
            if (this.orderMainModel.jeecgOrderTicketList[2] != undefined) {
              this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderTicketList[2])
              this.companysOne = JSON.parse(this.companysOne)
              this.sss[2] = this.companysOne
            }
          }

          var s = JSON.stringify(this.sss)
          var a = JSON.parse(s)
          var b = JSON.stringify(a)
          this.model.fundProject = b
        }
      }

      //第二个作者
      if (this.indes >= 2) {
        this.TheAuthor = JSON.stringify(this.orderMainModel.jeecgOrderCustomerTwoList[0])
        if (this.orderMainModel.jeecgOrderCorporateTwoList[0] != undefined) {
          this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateTwoList[0])
          this.companysOne = JSON.parse(this.companysOne)
          this.sss[0] = this.companysOne
          console.log(this.sss[0])
          if (this.orderMainModel.jeecgOrderCorporateTwoList[1] != undefined) {
            this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateTwoList[1])
            this.companysOne = JSON.parse(this.companysOne)
            this.sss[1] = this.companysOne
            console.log(this.sss[1])
            if (this.orderMainModel.jeecgOrderCorporateTwoList[2] != undefined) {
              this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateTwoList[2])
              this.companysOne = JSON.parse(this.companysOne)
              this.sss[2] = this.companysOne
            }
          }
        }
        var dObj = JSON.parse(this.TheAuthor)
        var authorName = dObj.authorName
        var authorSex = dObj.authorSex
        var author_type = dObj.author_type
        var education = dObj.education
        var research = dObj.research
        var title = dObj.title

        var newJson = {}
        newJson.authorName = authorName
        newJson.authorSex = authorSex
        newJson.author_type = author_type
        newJson.education = education
        newJson.research = research
        newJson.title = title
        newJson.companysOne = this.sss

        var s = JSON.stringify(newJson)
        var a = JSON.parse(s)
        var b = JSON.stringify(a)
        this.TheAuthorSet[1] = b
        this.model.frequencyAuthor = this.TheAuthorSet
      }

      //第三个作者
      if (this.indes >= 3) {
        this.TheAuthor = JSON.stringify(this.orderMainModel.jeecgOrderCustomerThreeList[0])
        if (this.orderMainModel.jeecgOrderCorporateThreeList[0] != undefined) {
          this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateThreeList[0])
          this.companysOne = JSON.parse(this.companysOne)
          this.sss[0] = this.companysOne
          console.log(this.sss[0])
          if (this.orderMainModel.jeecgOrderCorporateThreeList[1] != undefined) {
            this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateThreeList[1])
            this.companysOne = JSON.parse(this.companysOne)
            this.sss[1] = this.companysOne
            console.log(this.sss[1])
            if (this.orderMainModel.jeecgOrderCorporateThreeList[2] != undefined) {
              this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateThreeList[2])
              this.companysOne = JSON.parse(this.companysOne)
              this.sss[2] = this.companysOne
            }
          }
        }
        var dObj = JSON.parse(this.TheAuthor)
        var authorName = dObj.authorName
        var authorSex = dObj.authorSex
        var author_type = dObj.author_type
        var education = dObj.education
        var research = dObj.research
        var title = dObj.title

        var newJson = {}
        newJson.authorName = authorName
        newJson.authorSex = authorSex
        newJson.author_type = author_type
        newJson.education = education
        newJson.research = research
        newJson.title = title
        newJson.companysOne = this.sss

        var s = JSON.stringify(newJson)
        var a = JSON.parse(s)
        var b = JSON.stringify(a)
        this.TheAuthorSet[2] = b
        this.model.frequencyAuthor = this.TheAuthorSet
      }
      //第四个作者
      if (this.indes >= 4) {
        this.TheAuthor = JSON.stringify(this.orderMainModel.jeecgOrderCustomerFourList[0])
        if (this.orderMainModel.jeecgOrderCorporateFourList[0] != undefined) {
          this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateFourList[0])
          this.companysOne = JSON.parse(this.companysOne)
          this.sss[0] = this.companysOne
          console.log(this.sss[0])
          if (this.orderMainModel.jeecgOrderCorporateFourList[1] != undefined) {
            this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateFourList[1])
            this.companysOne = JSON.parse(this.companysOne)
            this.sss[1] = this.companysOne
            console.log(this.sss[1])
            if (this.orderMainModel.jeecgOrderCorporateFourList[2] != undefined) {
              this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateFourList[2])
              this.companysOne = JSON.parse(this.companysOne)
              this.sss[2] = this.companysOne
            }
          }
        }
        var dObj = JSON.parse(this.TheAuthor)
        var authorName = dObj.authorName
        var authorSex = dObj.authorSex
        var author_type = dObj.author_type
        var education = dObj.education
        var research = dObj.research
        var title = dObj.title

        var newJson = {}
        newJson.authorName = authorName
        newJson.authorSex = authorSex
        newJson.author_type = author_type
        newJson.education = education
        newJson.research = research
        newJson.title = title
        newJson.companysOne = this.sss

        var s = JSON.stringify(newJson)
        var a = JSON.parse(s)
        var b = JSON.stringify(a)
        this.TheAuthorSet[3] = b
        this.model.frequencyAuthor = this.TheAuthorSet
      }

      //第五个作者
      if (this.indes >= 4) {
        this.TheAuthor = JSON.stringify(this.orderMainModel.jeecgOrderCustomerFiveList[0])
        if (this.orderMainModel.jeecgOrderCorporateFiveList[0] != undefined) {
          this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateFiveList[0])
          this.companysOne = JSON.parse(this.companysOne)
          this.sss[0] = this.companysOne
          console.log(this.sss[0])
          if (this.orderMainModel.jeecgOrderCorporateFiveList[1] != undefined) {
            this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateFiveList[1])
            this.companysOne = JSON.parse(this.companysOne)
            this.sss[1] = this.companysOne
            console.log(this.sss[1])
            if (this.orderMainModel.jeecgOrderCorporateFiveList[2] != undefined) {
              this.companysOne = JSON.stringify(this.orderMainModel.jeecgOrderCorporateFiveList[2])
              this.companysOne = JSON.parse(this.companysOne)
              this.sss[2] = this.companysOne
            }
          }
        }
        var dObj = JSON.parse(this.TheAuthor)
        var authorName = dObj.authorName
        var authorSex = dObj.authorSex
        var author_type = dObj.author_type
        var education = dObj.education
        var research = dObj.research
        var title = dObj.title

        var newJson = {}
        newJson.authorName = authorName
        newJson.authorSex = authorSex
        newJson.author_type = author_type
        newJson.education = education
        newJson.research = research
        newJson.title = title
        newJson.companysOne = this.sss
        var s = JSON.stringify(newJson)
        var a = JSON.parse(s)
        var b = JSON.stringify(a)
        this.TheAuthorSet[4] = b
        this.model.frequencyAuthor = this.TheAuthorSet
      }
    },
    //查询杂志是否需要作者详情
    selAuthor(zhi) {
      debugger
      this.formdatas.id = zhi
      var that = this
      selectByAuthor(this.formdatas).then(function (res) {
        debugger
        that.a = that.a + 1
        if (that.xion != res.result.magazineAuthor && that.a >= 2) {
          //清空数据
          that.indes = 1
          that.xion = res.result.magazineAuthor
          that.orderMainModel.jeecgOrderCustomerOneList = [{}]
          that.orderMainModel.jeecgOrderCustomerTwoList = [{}]
          that.orderMainModel.jeecgOrderCustomerThreeList = [{}]
          that.orderMainModel.jeecgOrderCustomerFourList = [{}]
          that.orderMainModel.jeecgOrderCustomerFiveList = [{}]
          that.orderMainModel.jeecgOrderCorporateList = [{}]
          that.orderMainModel.jeecgOrderCorporateTwoList = [{}]
          that.orderMainModel.jeecgOrderCorporateThreeList = [{}]
          that.orderMainModel.jeecgOrderCorporateFourList = [{}]
          that.orderMainModel.jeecgOrderCorporateFiveList = [{}]
        } else if (that.xion != res.result.magazineAuthor) {
          that.xion = res.result.magazineAuthor
        }
      })
    },
    //暂存到草稿箱
    draft() {
      draft(this.model).then(function (res) {})
    },
    //控制增加基金
    addFund() {
      this.indexx = 1
    },
    delFund() {
      debugger
      this.orderMainModel.jeecgOrderTicketList[0] = [{}]
      console.log(this.orderMainModel.jeecgOrderTicketList)
      this.indess = 0
      this.indexx = 0
    },
    //控制作者数量显示+1
    addRowCustom(indes) {
      debugger
      this.selAuthor(this.model.frequencyId)
      if (indes < 5) {
        this.indes = indes + 1
        console.log(this.indes)
      }
    },

    //控制作者数量显示-1
    delRowCustom() {
      //清空作者信息
      if (this.indes == 1) {
        this.orderMainModel.jeecgOrderCustomerOneList = [{}]
        this.orderMainModel.jeecgOrderCorporateList = [{}]
      }
      if (this.indes == 2) {
        this.orderMainModel.jeecgOrderCustomerTwoList = [{}]
        this.orderMainModel.jeecgOrderCorporateTwoList = [{}]
      }
      if (this.indes == 3) {
        this.orderMainModel.jeecgOrderCustomerThreeList = [{}]
        this.orderMainModel.jeecgOrderCorporateThreeList = [{}]
      }
      if (this.indes == 4) {
        this.orderMainModel.jeecgOrderCustomerFourList = [{}]
        this.orderMainModel.jeecgOrderCorporateFourList = [{}]
      }
      if (this.indes == 5) {
        this.orderMainModel.jeecgOrderCustomerFiveList = [{}]
        this.orderMainModel.jeecgOrderCorporateFiveList = [{}]
      }
      if (this.indes >= 1) {
        this.indes = this.indes - 1
        console.log(this.indes)
      }
    },
    //第一个作者公司 +1
    addRowCorporate(indesss) {
      if (this.indesss < 2) {
        this.indesss = indesss + 1
        this.orderMainModel.jeecgOrderCorporateList.push({})
        console.log(this.orderMainModel.jeecgOrderCorporateList)
        this.$forceUpdate()
      }
    },
    //第一个作者公司 -1
    delRowCorporate(index) {
      console.log(index)
      this.indesss = index - 1
      let all = this.orderMainModel
      all['jeecgOrderCorporateList'].splice(index, 1)
      this.orderMainModel.jeecgOrderCorporateList.splice(index, 1)
      this.$forceUpdate()
    },
    //第二个作者公司 +1
    addRowCorporateTwo(indessss) {
      if (this.indessss < 2) {
        this.indessss = indessss + 1
        this.orderMainModel.jeecgOrderCorporateTwoList.push({})
        console.log(this.orderMainModel.jeecgOrderCorporateTwoList)
        this.$forceUpdate()
      }
    },
    //第二个作者公司 -1
    delRowCorporateTwo(index) {
      console.log(index)
      this.indessss = index - 1
      let all = this.orderMainModel
      all['jeecgOrderCorporateTwoList'].splice(index, 1)
      this.orderMainModel.jeecgOrderCorporateTwoList.splice(index, 1)
      this.$forceUpdate()
    },
    //第三个作者公司 +1
    addRowCorporateThree(indesssss) {
      if (this.indesssss < 2) {
        this.indesssss = indesssss + 1
        this.orderMainModel.jeecgOrderCorporateThreeList.push({})
        console.log(this.orderMainModel.jeecgOrderCorporateThreeList)
        this.$forceUpdate()
      }
    },
    //第三个作者公司 -1
    delRowCorporateThree(index) {
      console.log(index)
      this.indesssss = index - 1
      let all = this.orderMainModel
      all['jeecgOrderCorporateThreeList'].splice(index, 1)
      this.orderMainModel.jeecgOrderCorporateThreeList.splice(index, 1)
      this.$forceUpdate()
    },
    //第四个作者公司 +1
    addRowCorporateFour(indessssss) {
      if (this.indessssss < 2) {
        this.indessssss = indessssss + 1
        this.orderMainModel.jeecgOrderCorporateFourList.push({})
        console.log(this.orderMainModel.jeecgOrderCorporateFourList)
        this.$forceUpdate()
      }
    },
    //第四个作者公司 -1
    delRowCorporateFour(index) {
      console.log(index)
      this.indessssss = index - 1
      let all = this.orderMainModel
      all['jeecgOrderCorporateFourList'].splice(index, 1)
      this.orderMainModel.jeecgOrderCorporateFourList.splice(index, 1)
      this.$forceUpdate()
    },

    //第五个作者公司 +1
    addRowCorporateFive(indesssssss) {
      if (this.indesssssss < 2) {
        this.indesssssss = indesssssss + 1
        this.orderMainModel.jeecgOrderCorporateFiveList.push({})
        console.log(this.orderMainModel.jeecgOrderCorporateFiveList)
        this.$forceUpdate()
      }
    },
    //第五个作者公司 -1
    delRowCorporateFive(index) {
      console.log(index)
      this.indesssssss = index - 1
      let all = this.orderMainModel
      all['jeecgOrderCorporateFiveList'].splice(index, 1)
      this.orderMainModel.jeecgOrderCorporateFiveList.splice(index, 1)
      this.$forceUpdate()
    },
    //新增基金
    addRowTicket(indess) {
      this.indess = indess + 1
      if (this.indess < 3) {
        this.orderMainModel.jeecgOrderTicketList.push({})
        this.$forceUpdate()
      }
    },
    //删除基金
    delRowTicket(index) {
      if (index == 0) {
        this.orderMainModel.jeecgOrderTicketList[0] = [{}]
      }
      if (index == 1) {
        this.orderMainModel.jeecgOrderTicketList[1] = [{}]
      }
      if (index == 2) {
        this.orderMainModel.jeecgOrderTicketList[2] = [{}]
      }
      this.indess = index - 1
      let all = this.orderMainModel
      all['jeecgOrderTicketList'].splice(index, 1)
      this.orderMainModel.jeecgOrderTicketList.splice(index, 1)
      this.$forceUpdate()
    },
  },
}
</script>   